﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyMES.Domain.W.Liststructure
{
    /// <summary>
    /// 生产报工
    /// </summary>
    public class ProductionReport
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public int ProductionReportId { get; set; }

        /// <summary>
        /// 报工类型
        /// </summary>
        public int ReportTypeId { get; set; }

        /// <summary>
        /// 工作站
        /// </summary>
        public string WorkStation {  get; set; }

        /// <summary>
        /// 生产工单编号
        /// </summary>
        public string ProductionId { get; set; }

        /// <summary>
        /// 产品物料编码
        /// </summary>
        public string ProductMaterialCode { get; set; }

        /// <summary>
        /// 产品物料名称
        /// </summary>
        public string ProductMaterialName { get; set; }

        /// <summary>
        /// 规格型号
        /// </summary>
        public string SpecificationModel {  get; set; }

        /// <summary>
        /// 报工数量
        /// </summary>
        public int QuantityReported { get; set; }

        /// <summary>
        /// 报工人
        /// </summary>
        public string Caller {  get; set; }

        /// <summary>
        /// 报工时间
        /// </summary>
        public DateTime CallTime { get; set; }

        /// <summary>
        /// 审核人
        /// </summary>
        public string Auditor { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public int Status { get; set; }

        /// <summary>
        /// 生产任务编号
        /// </summary>
        public string ProductionTaskNumber { get; set; }

        /// <summary>
        /// 单位
        /// </summary>
        public string Unit {  get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 逻辑删除
        /// </summary>
        public bool IsDelete { get; set; }
    }
}
